package com.melodyframe.tableland.engine.model.domination;

import java.util.List;

import com.melodyframe.tableland.engine.model.base.UniqueModel;
import com.melodyframe.tableland.engine.model.common.Action;
import com.melodyframe.tableland.engine.model.kingdom.Kingdom;
import com.melodyframe.tableland.engine.model.map.Area;

/**
 * <h1>统治区</h1>
 * <p>
 * 玩家对{@link Area 区域}的统治,包括控制权、{@link Army 军队}部署，{@link Action 行动}等。
 * </p>
 * 
 * @author ettear
 */
public class Domination implements UniqueModel {
	/**
	 * 唯一标识
	 */
	private String		key;
	private Area		area;
	private Kingdom		owner;
	private boolean		controled;
	private List<Army>	armies;
	private Action		action;

	@Override
	public String getKey() {
		return key;
	}

	public void setKey(String key) {
		this.key = key;
	}

	public Area getArea() {
		return area;
	}

	public void setArea(Area area) {
		this.area = area;
	}

	public Kingdom getOwner() {
		return owner;
	}

	public void setOwner(Kingdom owner) {
		this.owner = owner;
	}

	public boolean isControled() {
		return controled;
	}

	public void setControled(boolean controled) {
		this.controled = controled;
	}

	public List<Army> getArmies() {
		return armies;
	}

	public void setArmies(List<Army> armies) {
		this.armies = armies;
	}

	public Action getAction() {
		return action;
	}

	public void setAction(Action action) {
		this.action = action;
	}

}
